import aiohttp
import asyncio
import async_timeout
async def fetch(session, url):
        async with session.get(url) as response:
            return await response.text()
async def main():
    async with aiohttp.ClientSession() as session:
        html = await fetch(session, 'http://localhost:8080/jack')
        print(html)
loop = asyncio.get_event_loop()
loop.run_until_complete(main())